const { deobfuscate } = require("../utils/deobfuscator");
const { BaseCommand } = require("./base");

class DeobfuscateCommand extends BaseCommand {
    async execute() {
        return deobfuscate(
            this.content,
            this.selfData.sourceType,
            this.selfData.config,
        );
    }
    getRequireContent() {
        return true;
    }
}

module.exports = {
    DeobfuscateCommand,
};
